type github.com/gotd/td/telegram/downloader.verifier
9 uses
github.com/gotd/td/telegram/downloader (current package)
reader.go#L27: verifier *verifier // immutable
reader.go#L34: func verifiedReader(sch schema, verifier *verifier) *reader {
verifier.go#L19: type verifier struct {
verifier.go#L29: func newVerifier(client schema, hashes ...tg.FileHash) *verifier {
verifier.go#L47: return &verifier{
verifier.go#L54: func (v *verifier) pop() (tg.FileHash, bool) {
verifier.go#L68: func (v *verifier) update(hashes ...tg.FileHash) (tg.FileHash, bool) {
verifier.go#L95: func (v *verifier) next(ctx context.Context) (tg.FileHash, bool, error) {
verifier.go#L122: func (v *verifier) verify(hash tg.FileHash, data []byte) bool {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |